package com.joplus.housekeeper.bean;

import java.util.List;

/**
 * author： ccm
 * time： 2017/5/3.
 * description：
 */

public class PhoneAreaBean {


    /**
     * code : 2000
     * data : [{"sid":"1","name":"中国","enName":"China","code":"86","briefCode":"CN","isOpened":true,"sortNumber":1,"createdDatetime":1493795543000},{"sid":"2","name":"英国","enName":"United Kingdom","code":"44","briefCode":"UK","isOpened":true,"sortNumber":2,"createdDatetime":1493795614000},{"sid":"3","name":"香港","enName":"Hong Kong","code":"852","briefCode":"HK","isOpened":true,"sortNumber":3,"createdDatetime":1493795661000},{"sid":"4","name":"美国","enName":"United States","code":"1","briefCode":"US","isOpened":true,"sortNumber":4,"createdDatetime":1493795698000}]
     * message :
     */

    private String code;
    private String message;
    /**
     * sid : 1
     * name : 中国
     * enName : China
     * code : 86
     * briefCode : CN
     * isOpened : true
     * sortNumber : 1
     * createdDatetime : 1493795543000
     */

    private List<DataBean> data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        private String sid;
        private String name;
        private String enName;
        private String code;
        private String briefCode;
        private boolean isOpened;
        private int sortNumber;
        private long createdDatetime;

        public String getSid() {
            return sid;
        }

        public void setSid(String sid) {
            this.sid = sid;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getEnName() {
            return enName;
        }

        public void setEnName(String enName) {
            this.enName = enName;
        }

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getBriefCode() {
            return briefCode;
        }

        public void setBriefCode(String briefCode) {
            this.briefCode = briefCode;
        }

        public boolean isIsOpened() {
            return isOpened;
        }

        public void setIsOpened(boolean isOpened) {
            this.isOpened = isOpened;
        }

        public int getSortNumber() {
            return sortNumber;
        }

        public void setSortNumber(int sortNumber) {
            this.sortNumber = sortNumber;
        }

        public long getCreatedDatetime() {
            return createdDatetime;
        }

        public void setCreatedDatetime(long createdDatetime) {
            this.createdDatetime = createdDatetime;
        }
    }
}
